package com.ss.android.image;

import android.content.Context;
import com.bytedance.frameworks.baselib.network.http.util.d;
import com.bytedance.frameworks.baselib.network.http.util.TaskInfo;

public final class m implements j {
    public j a;
    private static m b;

    static {
        m.b = new m();
    }

    public m() {

    }

    public final int a(int arg2, boolean isNightMode) {
        return this.a != null ? this.a.a(arg2, isNightMode) : 0;
    }

    public static m a() {
        return m.b;
    }

    public final boolean downloadImage(Context context, int arg12, String arg13, String arg14, String arg15, String arg16, String arg17, d arg18, TaskInfo arg19) throws Throwable {
        return this.a != null && this.a.downloadImage(context, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19);
    }

    public final int a(BaseImageManager arg2) {
        return this.a != null ? this.a.a(arg2) : 0;
    }

    public final boolean downloadImage(Context arg12, int arg13, String arg14, String arg15, String arg16, String arg17, String arg18, d arg19, String arg20, TaskInfo arg21) throws Throwable {
        return this.a != null && this.a.downloadImage(arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21);
    }

    public final long a(Context arg3) {
        return this.a != null ? this.a.a(arg3) : 0;
    }

    public final void a(Context arg3, long arg4) {
        if(this.a != null) {
            this.a.a(arg3, arg4);
        }
    }

    public final boolean isValidUrl(String arg2) {
        return this.a != null && this.a.isValidUrl(arg2);
    }
}

